<% @flashes.each do |type, flash_data| %>
  <%= render Avo::AlertComponent.new type, flash_data[:body], timeout: flash_data[:timeout] %>
<% end %>
